package com.demo.common.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;


public class Notes {
    private Long id;
    private String title;
    private String notesdesc;
    private String departureTime;
    private Long traveldays;
    private Long travelnums;
    private String hotelname;
    private String precost;
    private String content;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createtime;
    private Long viewnum;
    private Long creatorid;
    private String fmUrl;
    private Custorm custorm;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getNotesdesc() {
        return notesdesc;
    }

    public void setNotesdesc(String notesdesc) {
        this.notesdesc = notesdesc;
    }

    public String getDepartureTime() {
        return departureTime;
    }

    public void setDepartureTime(String departureTime) {
        this.departureTime = departureTime;
    }

    public Long getTraveldays() {
        return traveldays;
    }

    public void setTraveldays(Long traveldays) {
        this.traveldays = traveldays;
    }

    public Long getTravelnums() {
        return travelnums;
    }

    public void setTravelnums(Long travelnums) {
        this.travelnums = travelnums;
    }

    public String getHotelname() {
        return hotelname;
    }

    public void setHotelname(String hotelname) {
        this.hotelname = hotelname;
    }

    public String getPrecost() {
        return precost;
    }

    public void setPrecost(String precost) {
        this.precost = precost;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public LocalDateTime getCreatetime() {
        return createtime;
    }

    public void setCreatetime(LocalDateTime createtime) {
        this.createtime = createtime;
    }

    public Long getViewnum() {
        return viewnum;
    }

    public void setViewnum(Long viewnum) {
        this.viewnum = viewnum;
    }

    public Long getCreatorid() {
        return creatorid;
    }

    public void setCreatorid(Long creatorid) {
        this.creatorid = creatorid;
    }

    public String getFmUrl() {
        return fmUrl;
    }

    public void setFmUrl(String fmUrl) {
        this.fmUrl = fmUrl;
    }

    public Custorm getCustorm() {
        return custorm;
    }

    public void setCustorm(Custorm custorm) {
        this.custorm = custorm;
    }
}
